package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼层管理对象 sys_build_building
 * 
 * @author ruoyi
 * @date 2021-01-28
 */
public class SysBuildBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼层id */
    private Long id;

    /** 楼层标识 */
    @Excel(name = "楼层标识")
    private String buildsn;

    /** 单元管理信息 */
    private List<SysBuildUnit> sysBuildUnitList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBuildsn(String buildsn) 
    {
        this.buildsn = buildsn;
    }

    public String getBuildsn() 
    {
        return buildsn;
    }

    public List<SysBuildUnit> getSysBuildUnitList()
    {
        return sysBuildUnitList;
    }

    public void setSysBuildUnitList(List<SysBuildUnit> sysBuildUnitList)
    {
        this.sysBuildUnitList = sysBuildUnitList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buildsn", getBuildsn())
            .append("sysBuildUnitList", getSysBuildUnitList())
            .toString();
    }
}
